package com.xg.common.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author jdh
 * @since 2023-03-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("used_car_image")
public class UsedCarImage implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 图片id
     */
    @TableId(value = "image_id",type = IdType.AUTO)
    private Integer imageId;

    /**
     * 图片路径
     */
    @TableField("image_path")
    private String imagePath;

    /**
     * 绑定的车辆id
     */
    @TableField("car_id")
    private Integer carId;


}
